projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c347c3
)
widget: remove double assignment
author
Timm Bäder
<mail@baedert.org>
Sun, 30 Apr 2017 18:21:39 +0000
(20:21 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sun, 30 Apr 2017 18:22:42 +0000
(20:22 +0200)
We never read the value we assign here.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index ce0f8d4c5ca2fc8774dd9e5e0e5cc73d3e7c0b91..b306aae5080d288ca22b9af5621a770ad9b1201c 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-14042,8
+14042,6
@@
gtk_widget_update_alpha (GtkWidget *widget)
priv = widget->priv;
- alpha = priv->user_alpha;
-
context = _gtk_widget_get_style_context (widget);
opacity =
_gtk_css_number_value_get (_gtk_style_context_peek_property (context,